<?php

class TestController extends Zend_Controller_Action
{

    public function init()
    {
        /* Initialize action controller here */
    }

    public function indexAction()
    {
        $bet = new Application_Model_DbTable_Bet();
        
        /*if($bet->CheckBetExists(2, 1)){
        	$this->view->message = 'Yes';
        }
        else{
        	$this->view->message = 'No';
        }*/
        //$msg = Zend_Controller_Front::getInstance()->getParam('bootstrap')->getResource('db');
        $this->view->message = Zend_Registry::get('db');
    }
  
}

